package com.sky.mapper;

import com.sky.entity.DishFlavor;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DishFlavorMapper {
    //根据菜品id查询菜品口味数据
    List<DishFlavor> getByDishId(Long dishId);
    //新增菜品的口味
    void insertDishFlavor(List<DishFlavor> flavors);
    //删除菜品口味
    void deleteById(Long id);
}
